Skip to content

Conversation

@dmitrii-ubskii
Copy link
Member

Goal

Implementation

return FailureMode.NoFailure

def run_transaction(self, queries: List[str], type: TransactionType, rollback=False) -> Union[int, None]:
queries = [q for qs in queries for q in qs.split('end;') if q.strip()]
Copy link
Member

@flyingsilverfin flyingsilverfin Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw if someone does end ; or with a newline in between it should still work - maybe use regex with any whitespace in between or something

[,typeql]
----
#!test[<TYPE>[, reset] [, rollback] [, fail_at=<FAILURE>] [, count=<NUM>] [, jump=<LABEL>] [, name=<LABEL>]]
#!test[<TYPE>[, reset] [, rollback] [, fail_at=<FAILURE>] [, documents] [, count=<NUM>] [, jump=<LABEL>] [, name=<LABEL>]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants